package com.yc.cloud.admin.vo;

import com.yc.cloud.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 订单
 *
 * @author Yancy
 * @since 2024-01-18
 */
@Data
public class OrderVo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("订单编号")
    private String orderNo;

//    @ApiModelProperty("订单类型, 1:购买会员")
//    private String type;

    @ApiModelProperty("支付类型 1:微信")
    private String payType;

    @ApiModelProperty("支付时间")
    private LocalDateTime payTime;

    @ApiModelProperty("周期,按月")
    private Integer duration;

    @ApiModelProperty("金额")
    private Integer price;

    @ApiModelProperty("订单描述")
    private String description;

    @ApiModelProperty("订单状态：0:未支付 1:已支付 2:支付失败  3:支付中")
    private Integer status;

    @ApiModelProperty("创建人姓名")
    private String createTrueName;

    @ApiModelProperty("第三方支付")
    private String transactionId;


}
